<div class="form">
  <% form_for @withdraw,:html=>{:id=>"withdraw_form"} do |f| -%>
    <div class="uneditable">
      <p><label for="user_website">投放网址:</label>
        <%= @agent.site %>
      </p>

      <p><label for="user_bank_account">银行账号:</label>
        <%= @agent.bank_account %>
      </p>

      <p>
        <label for="user_bank">开户行信息:</label>
        <%= @agent.bank %>
      </p>

      <p>
        <label for="user_account_name">开户人:</label>
        <%= @agent.account_name %>
      </p>

      <p><label for="user_account">佣金:</label>
        <%= @agent.account %>
      </p>
    </div>
    <p>
      <label for="withdraw_receipt">银行回单</label>
      <%= f.text_field :receipt,:title=>"请输入汇款银行回单流水号.",:size=>35 %>
      <span class="tips">
        <span style="color:red;">*</span> 请输入汇款银行回单流水号.
      </span>
    </p>
    <input type="hidden" name="withdraw[user_id]"  value="<%=  params[:id] %>"/>
    <input  type="submit"  value="提交" />
  <%end%>

</div>
